import { createApp } from 'vue'
import App from './App.vue'
import router from './router/index'
import store from './store/index'
import hasPermi from './directive/hasPermi'
import hasRole from './directive/hasRole'
import i18n from '@/i18n/index'

// Plugins
import { registerPlugins } from '@/plugins'

//import '@/assets/css/theme.css'

// Vuetify
//import vuetify from './plugins/vuetify'

const app = createApp(App)
registerPlugins(app)
app.use(router)
app.use(store)
app.use(i18n)
app.directive('hasPermi',hasPermi)
app.directive('hasRole',hasRole)
app.mount('#app')
